package com.sk.bilibili.model.fragment.main;

import androidx.fragment.app.Fragment;

import com.sk.bilibili.R;
import com.sk.bilibili.model.BaseModel;
import com.sk.bilibili.view.fragment.main.HomeFragment;
import com.sk.bilibili.view.fragment.main.home.ChannelFragment;
import com.sk.bilibili.view.fragment.main.home.DynamicFragment;
import com.sk.bilibili.view.fragment.main.home.ShopFragment;

import java.util.HashMap;
import java.util.Map;

public class HomeModel extends BaseModel<HomeFragment> {

    public Map<Integer, Fragment> loadFragment() {
        Map<Integer, Fragment> map=new HashMap<>();
        map.put(R.id.home,new com.sk.bilibili.view.fragment.main.home.HomeFragment());
        map.put(R.id.channel,new ChannelFragment());
        map.put(R.id.dynamic,new DynamicFragment());
        map.put(R.id.shop,new ShopFragment());
        return map;
    }

    @Override
    protected void afterSetView() {

    }

}